package com.logica.mdm.webservices.dao;

import java.util.List;
import java.util.Map;

import com.logica.mdm.webservices.dao.beans.PartyRelResultBean;

/**
 * Interface defining the searchPartyRel Contract
 */
public interface SearchPartyRelDao {

	/**
	 * Default Sql request
	 */
	public final static String DEFAULT_SQL_REQUEST = "";
	
	/**
	 * Search partyRel by sqlQuery and parameters
	 * @param sqlQuery the query with named parameters
	 * @param sqlParams map containing the parameters (partyId)
	 * @return list of corresponding results
	 */
	List<PartyRelResultBean> searchPartyRelByParty(String sqlQuery, Map<String,?> sqlParams);
}
